Manage orders - Get transition eligibilities for a subscription.
Obtient les éligibilités de transition pour un abonnement.
GET https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/subscriptions/{subscription_id}/transitioneligibilities
GET https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/subscriptions/{subscription_id}/transitioneligibilities?eligibilityType={eligibilityType}
Paramètres URI
| Nom | Dans | Obligatoire | Type | Description |
|---|---|---|---|---|
|
customer_id
|
path | True |
string |
ID du client. |
|
subscription_id
|
path | True |
string |
ID d’abonnement. |
|
version
|
path | True |
string |
|
|
eligibility
|
query |
string |
Éligibilité de transition de type. |
En-tête de la demande
| Nom | Obligatoire | Type | Description |
|---|---|---|---|
| Authorization | True |
string |
Jeton du porteur d’autorisation |
| ms-correlationid |
string |
Utilisé pour le suivi des demandes en interne. Si un ms-correlationid n’est pas fourni, le serveur en génère un nouveau pour chaque requête |
|
| ms-cv |
string |
Utilisé pour le suivi des demandes en interne. Si un ms-cv n’est pas fourni, le serveur en génère un nouveau pour chaque requête |
|
| ms-requestid |
string |
Utilisé pour l’idempotency des requêtes. Si un ms-requestid n’est pas fourni, le serveur en génère un nouveau pour chaque requête |
Réponses
| Nom | Type | Description |
|---|---|---|
| 200 OK |
La demande a réussi. Le corps de la réponse contient les éligibilités de transition. Media Types: "application/json", "text/json" |
|
| 400 Bad Request |
Une entrée est manquante ou non valide. Le corps de la réponse fournit les détails de l’erreur. Media Types: "application/json", "text/json" |
|
| 401 Unauthorized |
La demande n’a pas été authentifiée. Le client doit d’abord s’authentifier auprès du service d’API partenaire. Media Types: "application/json", "text/json" |
|
| 403 Forbidden |
La demande a été authentifiée, mais a été refusée, car l’appelant n’a pas les droits de l’appeler. Media Types: "application/json", "text/json" |
|
| 404 Not Found |
La ressource est introuvable ou non disponible avec les paramètres d’entrée donnés. Media Types: "application/json", "text/json" |
|
| 500 Internal Server Error |
Le service d’API partenaire ou l’une de ses dépendances n’a pas pu répondre à la demande. Les appelants peuvent réessayer. Media Types: "application/json", "text/json" |
Définitions
Microsoft.Partner.Core.Collections.Link
| Nom | Type | Description |
|---|---|---|
| body |
string |
|
| headers |
System. |
|
| method |
string |
|
| uri |
string |
Microsoft.Partner.Core.Collections.ResourceAttributes
| Nom | Type | Description |
|---|---|---|
| etag |
string |
|
| objectType |
string |
Microsoft.Partner.Core.Collections.ResourceCollection[Microsoft.Partner.Services.Subscriptions.V1.Models.TransitionEligibility]
| Nom | Type | Description |
|---|---|---|
| attributes | ||
| items |
Microsoft. |
|
| links | ||
| totalCount |
integer (int32) |
Microsoft.Partner.Core.Collections.ResourceLinks
| Nom | Type | Description |
|---|---|---|
| next | ||
| previous | ||
| self |
Microsoft.Partner.Services.Subscriptions.V1.Models.TransitionEligibility
| Nom | Type | Description |
|---|---|---|
| attributes | ||
| catalogItemId |
string |
|
| description |
string |
|
| eligibilities |
Microsoft. |
|
| quantity |
integer (int32) |
|
| title |
string |
Microsoft.Partner.Services.Subscriptions.V1.Models.TransitionEligibilityDetail
| Nom | Type | Description |
|---|---|---|
| errors |
Microsoft. |
|
| isEligible |
boolean |
|
| transitionType |
enum:
|
Microsoft.Partner.Services.Subscriptions.V1.Models.TransitionError
| Nom | Type | Description |
|---|---|---|
| code |
enum:
|
|
| description |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
| Nom | Type | Description |
|---|---|---|
| key |
string |
|
| value |
string |